package com.andnnl.act.conf;

import act.controller.annotation.UrlContext;
import org.osgl.inject.annotation.Configuration;
import org.osgl.mvc.annotation.GetAction;

/**
 * Created by chenss on 2019/12/3.
 */
@UrlContext("/conf")
public class ConfTest3 {

    @GetAction("inject_param")
    public int injectParam(@Configuration("myconf.foo.bar") int fooBar) {
        return fooBar;
    }

}